package com.arpa.oms.service.impl;

import com.arpa.oms.domain.entity.OmsReceivableItem;
import com.arpa.oms.mapper.OmsReceivableItemMapper;
import com.arpa.oms.service.IOmsReceivableItemService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * OMS收款单明细 服务实现类
 * </p>
 *
 * @author LEO
 * @since 2020-11-17
 */
@Service
public class OmsReceivableItemServiceImpl extends ServiceImpl<OmsReceivableItemMapper, OmsReceivableItem> implements IOmsReceivableItemService {


    /**
     * 根据收款单号获取收款单明细
     *
     * @param receivableCode 收款单号
     * @return 收款单明细 {@link OmsReceivableItem}
     */
    @Override
    public List<OmsReceivableItem> listByReceivableCode(String receivableCode) {
        return baseMapper.listByReceivableCode(receivableCode);
    }
}
